﻿using System;
using System.Collections;
 

namespace HttpModuleAccessControl
{
    public class User 
    {
        /// <summary>
        /// Default Constructor. Do nothing in this version.
        /// </summary>
        public User()
        { }

        ///// <summary>
        ///// Constructor. Not use in this version
        ///// </summary>
        ///// <param name="UserID"></param>
        //public User(string UserID)
        //{   //load user properties and load role(s) associated with this user
        
        //}


        // Employee name
        private string _UserName;

        // Employee Job Title
        private string _UserTitle;

        // Employee additional information
        private string _UserDescription;

        // Employee ID
        private string _UserID;

        // Employee Director ID
        private string _DirectorID;

        // Employee password
        private string _Password;

        /// <summary>
        /// 
        /// </summary>
        public string Password
        {
            get { return _Password; }
            set { _Password = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string DirectorID
        {
            get { return _DirectorID; }
            set { _DirectorID = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        } 

        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            get { return _UserName; }
            set { _UserName = value; }
        }
 
        /// <summary>
        /// 
        /// </summary>
        public string UserTitle
        {
            get { return _UserTitle; }
            set { _UserTitle = value; }
        }

        /// <summary>
        /// 
        /// </summary>
        public string UserDescription
        {
            get { return _UserDescription; }
            set { _UserDescription = value; }
        }
   
        private ArrayList _userRoles = new ArrayList();

        /// <summary>
        /// Store Role ID as a list for this user.
        /// </summary>
        public ArrayList RoleList
        {
            get { return _userRoles; }
            set { _userRoles = value; }
        }



    }

   



}
